<?php
class model_newagk_department extends gdl_components_basemodel
{

    public function primarykey() {
        return 'id';
    }

    public function tableName() {
        return 'agk_department';
    } 
	
	public function getList($admin_reg){

		$arr=$this->select(['status'=>1],'id,name,pid,companyId company_id')->items;
		
		
        return $arr;
    }
	
}
